package cn.javass.dp.command.example2;

public class OpenCommand implements  Command {

    private MainBoardApi mainBoardApi = null;

    public OpenCommand(MainBoardApi mainBoardApi) {
        this.mainBoardApi = mainBoardApi;
    }

    @Override
    public void execute() {
        mainBoardApi.open();
    }
}
